package org.game.log.dsp;

/**
 * 道具日志 dsp 需删除 Created by fxf on 2017/7/21.
 */
public enum GoodsDsp implements Dsp {
	CMD								(DspModule.DSP_GOODS + 1,"命令"),
	CONVERT						(DspModule.DSP_GOODS + 2,"转换获得"),
	OVERFLOW						(DspModule.DSP_GOODS + 3,"溢出获得"),
	CREATE_PLAYER					(DspModule.DSP_GOODS + 4,"创建玩家"),
	DATING_REWARD					(DspModule.DSP_GOODS + 5,"约会奖励"),
	USE_GOODS						(DspModule.DSP_GOODS + 6,"使用道具"),
	AUTO_RECOVER					(DspModule.DSP_GOODS + 7,"自动恢复"),
	DUP_FIGHT						(DspModule.DSP_GOODS + 8,"副本战斗"),
	HERO_ADVANCE					(DspModule.DSP_GOODS + 9,"英雄突破"),
	HERO_UP_QUALITY				(DspModule.DSP_GOODS + 10,"英雄进阶"),
	STORE							(DspModule.DSP_GOODS + 11,"商城"),
	STORE_BUY						(DspModule.DSP_GOODS + 12,"商城购买"),
	STORE_SELL	    				(DspModule.DSP_GOODS + 13,"商城出售"),
	WORK_REWARD	    			(DspModule.DSP_GOODS + 14,"打工奖励"),
	ENTER_CITY	    				(DspModule.DSP_GOODS + 15,"进入城市消耗"),
	BUILDING_UPGRADE	    		(DspModule.DSP_GOODS + 16,"建筑升级消耗"),
	REFRESH_SHOP	    			(DspModule.DSP_GOODS + 17,"刷新商店"),
	RECEIVE_MAIL	    			(DspModule.DSP_GOODS + 18,"收取邮件"),
	EQUIPMENT_UPGRADE	    		(DspModule.DSP_GOODS + 19,"灵装升级消耗"),
	GIFT_CODE	    				(DspModule.DSP_GOODS + 20,"礼包码"),
	EQUIPMENT_CHANGE_ATTR		(DspModule.DSP_GOODS + 21,"灵装洗炼消耗"),
	SELL_GOODS_GAIN	    		(DspModule.DSP_GOODS + 22,"出售物品获得"),
	TIME_OUT_DELETE	    		(DspModule.DSP_GOODS + 23,"物品过期删除"),
	COMPOSE_HERO_COST_PART	    (DspModule.DSP_GOODS + 24,"合成英雄消耗碎片"),
	PLAYER_LVL_UP	    			(DspModule.DSP_GOODS + 25,"玩家升级获得"),
	DONATE	    					(DspModule.DSP_GOODS + 26,"给看板娘送礼"),
	ANGEL_WAKE	    				(DspModule.DSP_GOODS + 27,"天使觉醒"),
	BUY_LEVEL_GROUP_FIGHT_COUNT	(DspModule.DSP_GOODS + 28,"购买副本组战斗次数"),
	LEVEL_GROUP_REWARD	    	(DspModule.DSP_GOODS + 29,"副本组奖励"),
	BUY_DAILY_DATING_COUNT	    (DspModule.DSP_GOODS + 30,"购买日常约会次数"),
	USE_DAILY_DATING_COUNT	    (DspModule.DSP_GOODS + 31,"消耗日常约会次数"),
	HERO_UP						(DspModule.DSP_GOODS + 32,"英雄升级"),
	HERO_COMPOSE					(DspModule.DSP_GOODS + 33,"英雄合成"),
	ACTIVATE_ROLE 					(DspModule.DSP_GOODS + 34,"精灵激活"),
	BUY_RESOURCES 					(DspModule.DSP_GOODS + 35,"购买资源"),
	SUMMON 							(DspModule.DSP_GOODS + 36,"召唤"),
	COMPOSE_SUMMON 				(DspModule.DSP_GOODS + 37,"合成召唤"),
	TOUCH_ROLE 					(DspModule.DSP_GOODS + 38,"触摸看板娘"),
	RECEIVE_FRIENDS_AWAY 			(DspModule.DSP_GOODS + 39,"收取好友了礼物"),
	SUBMIT_TASK 					(DspModule.DSP_GOODS + 40,"提交任务"),
	GM_MAIL 						(DspModule.DSP_GOODS + 40,"GM邮件"),
	RESET	    					(DspModule.DSP_GOODS + 42,"重置"),
	RESET_ANGEL_SKILL	    		(DspModule.DSP_GOODS + 43,"重置天使技能"),
	RESERVE_DATING_ANSWER		(DspModule.DSP_GOODS + 44,"回应精灵日常约会邀请"),
	RECHARGE						(DspModule.DSP_GOODS + 45,"充值"),
	FIRST_RECHARGE				(DspModule.DSP_GOODS + 46,"首冲"),
	MONTH_CARD						(DspModule.DSP_GOODS + 47,"月卡"),
	MONTH_CARD_PRESENT			(DspModule.DSP_GOODS + 48,"购买月卡时赠送"),
	SIGN     						(DspModule.DSP_GOODS + 49,"签到获得"),
	GAIN_HERO						(DspModule.DSP_GOODS + 50,"获得英雄同时获得"),
	SUBMIT_ACTIVITY 				(DspModule.DSP_GOODS + 51,"提交活动"),
	GASHAPON      					(DspModule.DSP_GOODS + 51,"抓娃娃获得"),
	UNLOCK_ROOM      				(DspModule.DSP_GOODS + 52,"解锁房间"),
	ENDLESS_CLOISTER_PASS        (DspModule.DSP_GOODS + 53,"无尽回廊通关奖励"),
	ENDLESS_CLOISTER_BALANCE		(DspModule.DSP_GOODS + 54,"无尽回廊结算奖励"),
	OFFLINE_REWARD				(DspModule.DSP_GOODS + 55,"线下奖励"),
	DATING_NODE_SELECT			(DspModule.DSP_GOODS + 56,"约会选择节点"),
	TIMING_UPDATE_MOOD			(DspModule.DSP_GOODS + 58,"定时更新看板娘心情值"),
	OUTSIDE_DATING_REWARD			(DspModule.DSP_GOODS + 59,"外传约会奖励"),
	OUTSIDE_DATING_COST			(DspModule.DSP_GOODS + 60,"外传约会消耗"),
	RESERVE_FAIL			(DspModule.DSP_GOODS + 61,"预定约会迟到"),
	RESERVE_ANSWER			(DspModule.DSP_GOODS + 62,"约定约会回应"),
	ROOM_EFFECT			(DspModule.DSP_GOODS + 63,"房间效果"),
	HELP_FIGHT			(DspModule.DSP_GOODS + 64,"助战"),
	;

	int code;
	String dsp;

//	private static AtomicInteger codeCounter;
//	private static synchronized int increCode(){
//		if(codeCounter == null)
//			codeCounter = new AtomicInteger(DspModule.DSP_GOODS );
//		return codeCounter.incrementAndGet();
//	}

	GoodsDsp(int code ,String dsp) {
		this.code = code;
		this.dsp = dsp;
	}

	public int getCode() {
		return code;
	}

	public String getDsp() {
		return dsp;
	}



}
